package controlLayer;

import modelLayer.Sale;
import dbLayer.DBSales;
import dbLayer.IFDBSales;

public class SaleCtr implements IFDBSales {

	protected IFDBSales dbSales;
	public SaleCtr() {
		dbSales = new DBSales();
	}

	@Override
	public int insertSale(Sale sale) throws Exception {
		return dbSales.insertSale(sale);
	}

}
